package com.yiwu.common.model.vo.chat;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serializable;

/**
 * @version 1.0
 * @description TODO
 * @date 2024/5/30 19:11
 */
@Data
public class ChatMessageReqVO implements Serializable {


    private String mid;

    /**
     *
     */
    @NotEmpty
    private Integer messageType;

    @NotEmpty
    @Size(max = 500)
    private String messageContent;

    /**
     *
     */
    @NotEmpty
    private String receiverId;


    /**
     *
     */
    private Long fileSize;

    /**
     *
     */
    private Integer fileType;

    /**
     *
     */
    private String fileName;
}
